<?php echo $header; ?>
<div id="content">
	<div class="breadcrumb">
		<?php foreach ($breadcrumbs as $breadcrumb) { ?>
		<?php echo $breadcrumb['separator']; ?>
		<a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?>
		</a>
		<?php } ?>
	</div>
	<?php if ($error_warning) { ?>
	<div class="warning">
		<?php echo $error_warning; ?>
	</div>
	<?php } ?>
	<?php if ($success) { ?>
	<div class="success">
		<?php echo $success; ?>
	</div>
	<?php } ?>
	<div class="box">
		<div class="heading">
			<h1>
				<img src="view/image/setting.png" alt="" />
				<?php echo $heading_title; ?>
			</h1>
			<div class="buttons">
				<a onclick="$('#form').submit();" class="button"><?php echo $button_save; ?>
				</a><a href="<?php echo $cancel; ?>" class="button"><?php echo $button_cancel; ?>
				</a>
			</div>
		</div>
		<div class="content">
			<form action="<?php echo $action; ?>" method="post"
				enctype="multipart/form-data" id="form">
			<?php echo $text_link;?>
			<hr>
			<table style="width: 100%">
				<tr>
					<td style="width: 200px;"><?php echo $link_facebook;?></td>
					<td><input type="text" size="50" name="phone_config_facebook" value="<?php echo $facebook;?>"/></td>
				</tr>
				<tr>
					<td style="width: 200px;"><?php echo $link_twitter;?></td>
					<td><input type="text" size="50" name="phone_config_twitter" value="<?php echo $twitter;?>"/></td>
				</tr>
				<tr>
					<td style="width: 200px;"><?php echo $link_google_plus;?></td>
					<td><input type="text" size="50" name="phone_config_google_plus" value="<?php echo $google_plus;?>"/></td>
				</tr>
			</table>
			<?php echo $text_limit;?>
			<hr>
			<table style="width: 100%">
				<tr>
					<td style="width: 200px;"><?php echo $top_search;?></td>
					<td><input type="text" size="50" name="phone_config_top_search_limit" value="<?php echo (!empty($top_search_limit) ? $top_search_limit : 10);?>"/></td>
				</tr>
				<tr>
					<td style="width: 200px;"><?php echo $top_spam;?></td>
					<td><input type="text" size="50" name="phone_config_top_spam_limit" value="<?php echo (!empty($top_spam_limit) ? $top_search_limit : 10);?>"/></td>
				</tr>
				<tr>
					<td style="width: 200px;"><?php echo $comments;?></td>
					<td><input type="text" size="50" name="phone_config_comment_limit" value="<?php echo (!empty($comment_limit) ? $comment_limit : 10);?>"/></td>
				</tr>
			</table>
			</form>
		</div>
	</div>
</div>
<?php echo $footer; ?>